Configuring WebLogic

To configure Web-logic use the Web-logic Administration Console. By default the port number is 7001 and /console is the context root. Example: http://hostname:7001/console

  • Browser console is not supported from Weblogic 15.1.0.0.

  • Install Weblogic remote console (2.4.18 or higher version).

Configure Providers to access Admin Console

Select Add Admin Server Connection Provider

  • Connection Provide Name : Name of your choice

    • UserName : Weblogic console username

    • Password: Weblogic Admin console Password

  • URL : http://hostname:7001/console

 

Note: When selecting a menu option in the Web-logic Administrative Console, the names may differ depending on whether Web-logic is used in development mode or production mode.

Create a Machine

  1. Select Edit Tree > Environment>Machines>New.

  2. Enter the name for the machine.(SERVICELAYER)

  3. If the OS is not UNIX, select Other from the Machine OS drop-down list.

  4. Click Create.

  5. Click Cart icon on top right corner and Select Commit changes.

Create and Configure Service Layer Server

Create the Service Layer Server

  1. Select Edit Tree > Environment>Servers.

  2. Click New.
  3. Enter ServiceLayer for the name of the server and click on Create.
  4. Set cluster to SLCluster, Set machine to Previously created machine ( SERVICELAYER).

  5. Set the listener port to a port that is not used by any other application.

  6. Click on Cart icon on top right corner and commit the changes.

Configure the ServiceLayer Server

  1. Select Edit Tree > Environment>Servers.

  2. Select the ServiceLayer server that was created.

  3. Select the Advanced tab > Node manager.

  4. Specify the class path. The path names will vary depending on the configuration.

For WebLogic-Oracle Combination

/opt/oracle/serviceLayer/lib/commons-logging-1.3.5.jar;
/opt/oracle/serviceLayer/conf;
/opt/oracle/oipa/libs/coherence.jar;
/opt/oracle/serviceLayer/lib/oraclepki.jar;
/opt/oracle/serviceLayer/lib/osdt_core.jar;
/opt/oracle/serviceLayer/lib/osdt_cert.jar;/opt/oracle/serviceLayer/lib/jstl.jar;
/opt/oracle/serviceLayer/lib/aspectjrt.jar;
/opt/oracle/serviceLayer/lib/aspectjweaver.jar;
/opt/oracle/serviceLayer/lib/jakarta.persistence-2.2.3.jar;
/opt/oracle/serviceLayer/lib/eclipselink-2.7.16.jar;

For WebLogic-MSSQL Server Combination

/opt/oracle/serviceLayer/lib/commons-logging-1.3.5.jar;
/opt/oracle/serviceLayer/lib/mssql-jdbc-12.10.1.jre11.jar;/opt/oracle/serviceLayer/conf;
/opt/oracle/serviceLayer/lib/coherence.jar;/opt/oracle/serviceLayer/lib/oraclepki.jar;
/opt/oracle/serviceLayer/lib/osdt_core.jar;
/opt/oracle/serviceLayer/lib/osdt_cert.jar;
/opt/oracle/serviceLayer/lib/jstl.jar;/opt/oracle/serviceLayer/lib/aspectjrt.jar;
/opt/oracle/serviceLayer/lib/aspectjweaver.jar;
/opt/oracle/serviceLayer/lib/jakarta.persistence-2.2.3.jar;
/opt/oracle/serviceLayer/lib/eclipselink-2.7.16.jar;

Note:  If using WebLogic on Windows, then the separator for files/directories in the classpath is a semicolon.

5. Enter the following arguments. The path names will vary depending on the configuration. The memory settings can be altered for your needs as well.

-server -Xms2048M -Xmx2048M

-Dtangosol.coherence.cacheconfig=/opt/oracle/serviceLayer/conf/service-coherence-cache-config.xml

-Dtangosol.coherence.override=D:/Environment/Service/conf/service-coherence-config.xml

-Dweblogic.wsee.skip.async.response=true

-Dtangosol.coherence.mode=prod

-Djava.util.logging.config.file=/opt/oracle/serviceLayer/conf/logging.properties

-Dserver.name="<Name of the server>"

6. Select Save and Commit the changes from Cart icon.